﻿<%@ Page Language="c#" Inherits="WinnerCMS.WebUI.Admin.Common.SaveOK" CodeBehind="Saveok.aspx.cs" %>

<!doctype html>
<html>
<head runat="server">
    <title>操作成功！</title>
    <%: Styles.Render("~/Content/Bootstrap/css") %>
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    <script type="text/javascript">
        function go()
        {
            var link1 = $get("link1");
            location = link1.href;
        }
        function golink2()
        {
            var link1 = $get("link2");
            location = link2.href;
        }
        function keyPress(event)
        { 
            if (event.keyCode == 13) { clearTimeout(interval); }
            if (event.keyCode == 32) { go(); }
            if (event.keyCode == 77) { golink2(); }
        }
        if (true)
        {
            var interval = setInterval("var tmr=document.getElementById('timer'); if(--tmr.innerHTML <= 0)  {clearTimeout(interval); go();}", 1000);
        }
        else
        {
            go();
        }
    </script>
</head>
<body onkeydown="keyPress(event)">
    <form id="Form1" method="post" runat="server">
    <table height="113" cellspacing="0" cellpadding="0" width="406" align="center" border="0"
        id="TABLE1" runat="server">
        <tr class="HeaderStyle">
            <td>
                添 加 成 功
            </td>
        </tr>
        <tr>
            <td class="border" colspan="3">
                <table cellspacing="1" cellpadding="2" width="100%" border="0">
                    <tr>
                        <td align="right" width="93">
                            <strong>所属栏目：</strong>
                        </td>
                        <td width="300"><asp:Label ID="SavePath" runat="server">Label</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" width="93">
                            <strong><%= mi.ContentName %>标题：</strong>
                        </td>
                        <td><asp:Label ID="SaveTitle" runat="server">Label</asp:Label>
                        </td>
                    </tr>
                    
                    <tr>
                        <td align="right" width="93">
                            <strong>关 键 字：</strong>
                        </td>
                        <td><asp:Label ID="SaveKey" runat="server">Label</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            【<a href='../<%= mi.BaseModel %>/Add.aspx?CategoryId=<%= ci.CategoryId %>&ID=<%= Request["ID"] %>&ModelId=<%= Request["ModelId"] %>'>修改</a>】&nbsp;【<a
                                href="../<%= mi.BaseModel %>/Add.aspx?CategoryId=<%= ci.CategoryId %>&ModelId=<%= Request["ModelId"] %>" id="link1">继续添加</a>】&nbsp;【<a
                                    href="ContentManage.aspx?ModelId=<%= Request["ModelId"] %>" id="link2"><%= mi.ContentName %>管理</a>】&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <span style="font-size: 9pt">您可以选择上面的链接如果不选， <b><a id="timer" style="color: red">5</a></b>
                                秒钟后将继续添加<%= mi.ContentName %>。<br />
                                <font color="red"><b>回车</b></font> 键停止倒计时，
                                <br />
                                <font color="red"><b>空格</b></font> 键可以直接继续添加<%= mi.ContentName %>。<br />
                                <font color="red">M</font> 键可以直接继续进入<%= mi.ContentName %>管理。<br />
                            </span>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
